	<link rel="stylesheet" href="${resource(dir:'css',file:'perfil.css')}" />
	<%@ page import="eudjok.Dj" %>
	<%@ page import="eudjok.Avaliacao" %>
	<html>
	    <head>
	        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	        <meta name="layout" content="main" />
	        <g:set var="entityName" value="${message(code: 'avaliacao.label', default: 'Avaliacao')}" />
	        <title>Perfil do ${djInstanceList}</title>
	    </head>
	   <body>
			<% 
			if (session.countPlayer == null) {
				session.countPlayer = 0;
			}
			%>
	        <div id="wrapper">
	        	<div id="navegacao">
	           	 	<div class="homePagePanel">
	           	     	<div class="panelTop"></div>
	           	     	<div class="panelBody" id="panelBody">
	           	        	 <g:render template="/common/perfil/djPerfil" />
	           	     	</div>
	           	    	 <div class="panelBtm"></div>
	           		 </div>
	        	</div>
				<g:if test="${playList}">
				<div id="video-perfil">
				 	<g:render template="/common/perfil/youtubePlayer" model="['i':i]" />
				</div>
				</g:if>
				<g:if test="${!playList}">
				<div style="width:400px;height:20px;background-color:#dddddd;">
					<h1>Dj com Playlist Vazia!</h1>
				</div>
				</g:if>
				
						
				<div id="footerc">
					<div id="esquerdapf">
						<g:if test="${playList}">
							<g:render template="/common/perfil/listPlaylist" model="[param:i]"/>
						</g:if>
						<g:if test="${!playList}">
						<div style="width:300px;height:20px;background-color:#dddddd;">
							<h1>Dj com Playlist Vazia!</h1>
						</div>
						</g:if>
					</div>	

					<div id="direitapf">
						<g:if test="${setListInstanceList}">
	                		<g:render template="/common/perfil/listSetLists" model="[param:i]"/>
						</g:if>
						<g:if test="${!setListInstanceList}">
						<div style="width:300px;height:20px;background-color:#dddddd;">
							<h1>Dj não possui setlists!</h1>
						</div>
						</g:if>
					</div>
					<div id="centropf">
						<g:if test="${djOuvintes}">
	               			<g:render template="/common/perfil/listOuvintes" model="[param:i]"/>
						</g:if>
						<g:if test="${!djOuvintes}">
						<div style="width:300px;height:20px;background-color:#dddddd;">
							<h1>Dj não possui ouvintes!</h1>
						</div>
						</g:if>
					</div>
				</div>

      		</div>		
	 
				<form>
					
				   <input type="hidden" id="btnatualizar"class="buttonLikeLink" value="Atualizar" onclick="${remoteFunction(controller:'dj',
	                     action:'py',
	                     params:[dj:djInstanceList, 'i':i],
	                     update:'video-perfil')}" />
		        </form>

	    </body>
	</html>